package com.hejia.alauda.persistence.mybatis;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.hejia.alauda.entity.UserInformation;
import com.hejia.alauda.persistence.BaseMapper;

public interface UserInformationMapper extends BaseMapper<UserInformation> {

	/**
	 * 根据生日查询用户ID集合
	 * @param birthday 生日
	 * @return
	 */
	@Select("select id from user where idCard like #{birthday}")
	List<Long> findUserIdsByBirthday(String birthday);

}
